//
//  NetWorkTools+User.swift
//  MXWeiBo
//
//  Created by Apple on 16/2/25.
//  Copyright © 2016年 Applea. All rights reserved.
//

import Foundation
//    MARK:  --网络工具－用户接口
extension NetworkTools {

    func loadUser(access_token: String,uid: String,finished:([String : AnyObject]?)->()) {
    let urlStr="https://api.weibo.com/2/users/show.json"
    let params=["access_token": access_token,"uid": uid]
    request(.GET, URLString: urlStr, parameters: params, finished: finished)
    }
}